Eclipse JDT
Pre-release 3.0

org.eclipse.jdt.core.search
Class SearchDocument

java.lang.Object
  extended byorg.eclipse.jdt.core.search.SearchDocument

public class SearchDocument
extends Object

TODO (jerome) spec

Since:
3.0

Field Summary
protected  String documentPath
           
protected  SearchParticipant participant
           
 
Constructor Summary
SearchDocument(String documentPath, SearchParticipant participant)
           
 
Method Summary
 byte[] getByteContents()
          Contents may be different from actual resource at corresponding document path, in case of preprocessing.
 char[] getCharContents()
          Contents may be different from actual resource at corresponding document path, in case of preprocessing.
 String getEncoding()
          Returns the encoding for this document
 SearchParticipant getParticipant()
          Returns the participant that created this document
 String getPath()
          Path to the original document to publicly mention in index or search results.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

documentPath

protected String documentPath

participant

protected SearchParticipant participant
Constructor Detail

SearchDocument

public SearchDocument(String documentPath,
                      SearchParticipant participant)
Method Detail

getByteContents

public byte[] getByteContents()
Contents may be different from actual resource at corresponding document path, in case of preprocessing.


getCharContents

public char[] getCharContents()
Contents may be different from actual resource at corresponding document path, in case of preprocessing.


getEncoding

public String getEncoding()
Returns the encoding for this document


getParticipant

public SearchParticipant getParticipant()
Returns the participant that created this document


getPath

public String getPath()
Path to the original document to publicly mention in index or search results.


Eclipse JDT
Pre-release 3.0

Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.